package com.un.ebs.contract.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (SaleContractByCustomerExt)表实体类
 *
 * @author liubo
 * @since 2020-09-05 10:51:47
 */
@Data
@Component
@TableName("v_sale_contract_by_customer_ext")
@SuppressWarnings("serial")
public class SaleContractByCustomerExt extends Model<SaleContractByCustomerExt> {


    @DbField(name = "business_ent_id", length = 40, precision = 0)
    private String businessEntId;

    @DbField(name = "business_ent_name", length = 100, precision = 0)
    private String businessEntName;

    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "sku_name", length = 100, precision = 0)
    private String skuName;

    @DbField(name = "class_name", length = 40, precision = 0)
    private String className;

    @DbField(name = "contract_qty", length = 38, precision = 4)
    private Double contractQty;

    @DbField(name = "write_off_qty", length = 38, precision = 4)
    private Double writeOffQty;

    @DbField(name = "last_contract_qty", length = 38, precision = 4)
    private Double lastContractQty;

    @DbField(name = "order_qty", length = 38, precision = 4)
    private Double orderQty;

    @DbField(name = "out_qty", length = 38, precision = 4)
    private Double outQty;

    @DbField(name = "sale_deliver_qty", length = 38, precision = 4)
    private Double saleDeliverQty;

    @DbField(name = "inventory_qty", length = 38, precision = 6)
    private Double inventoryQty;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}